home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 2010 April
/
PCWorld0410.iso
/
pluginy Firefox
/
684
/
684.xpi
/
chrome
/
fireftp.jar
/
content
/
password2.xul
< prev
next >
Wrap
Extensible Markup Language
|
2007-04-19
|
1KB
|
36 lines
<?xml version="1.0"?>
<?xml-stylesheet href="chrome://global/skin/global.css" type="text/css"?>
<?xml-stylesheet href="chrome://fireftp/skin/fireftp.css" type="text/css"?>
<!DOCTYPE dialog SYSTEM "chrome://fireftp/locale/password2.dtd">
<dialog id = "passwordPrompt2"
title = "&title;"
width = "275"
height = "150"
xmlns = "http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
persist = "screenX screenY width height"
onload = "init(event)"
buttons = "accept, cancel"
ondialogaccept = "doOK()">
<script type="application/x-javascript" src="chrome://fireftp/content/js/etc/common.js"/>
<script>
<![CDATA[
function init(aEvent) {
$('password').focus();
}
function doOK() {
window.arguments[0].password = $('password').value;
window.arguments[0].returnVal = true;
return true;
}
]]>
</script>
<label value="&enterPassword;" accesskey="&password.access;" control="password"/>
<textbox id="password" width="200" type="password"/>
</dialog>